package com.hzb.springcloud.dao;

import com.hzb.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Title:
 * @Description: TODO(这里用一句话描述这个方法的作用)
 * @param @param
 * @return @return
 * @author huangZB
 * @throws
 * @date
 */
@Mapper
public interface PaymentDao {

    /**
     * 新增
     *
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 根据Id查询
     *
     * @param id
     * @return
     */
    Payment getPaymentById(@Param("id") String id);
}
